package com.whnk.model.service.impl;

import com.whnk.model.domain.Product;
import com.whnk.model.mapper.ProductMapper;
import com.whnk.model.service.IProductService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ProductServiceImpl implements IProductService {

    @Autowired
    private ProductMapper productMapper;

    /*查询所有Product对象*/
    public List<Product> selectProduct(){
        return productMapper.selectProduct();
    }

}
